/********************************************************************************
 * BannedUser.java
 *
 * Created by Jigar Mistry
 * Last modified Date: Dec 4, 2008 5:41:22 PM by Jigar Mistry
 * Version : 0.1
 * Copyright (c) 2008 - 2009 cyberThink Infotech Pvt. Ltd., All rights reserved.
 ********************************************************************************/
package com.printeverywhere.dto;

import java.util.Date;

import com.printeverywhere.util.DateUtil;

/**
 * BannedUser entity.
 *
 * @author MyEclipse Persistence Tools
 */

public class BannedUser implements java.io.Serializable {

	// Fields

	private Integer id;
	private User user;
	private Date createDate = DateUtil.getTodaysDate();
	private String reason;

	// Constructors

	/** default constructor */
	public BannedUser() {
	}

	/** full constructor */
	public BannedUser(User user, Date createDate, String reason) {
		this.user = user;
		this.createDate = createDate;
		this.reason = reason;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public User getUser() {
		return this.user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public Date getCreateDate() {
		return this.createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getReason() {
		return this.reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}

}